﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="ResearchByTags.aspx.vb" Inherits="myproject.ResearchByTags" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<table width="920" cellspacing="30" style="border-style: groove">
             <tr>
             <td>
                 <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" 
                     DataSourceID="TagsDataSource">
                     <Columns>
                         <asp:HyperLinkField DataNavigateUrlFields="Tag" 
                             DataNavigateUrlFormatString="~/ResearchesWithTags.aspx?Tag={0}" 
                             DataTextField="Tag" />
                     </Columns>
                     <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
        <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
        <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
        <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
        <SortedAscendingCellStyle BackColor="#F4F4FD" />
        <SortedAscendingHeaderStyle BackColor="#5A4C9D" />
        <SortedDescendingCellStyle BackColor="#D8D8F0" />
        <SortedDescendingHeaderStyle BackColor="#3E3277" />
                 </asp:GridView>
                 <asp:SqlDataSource ID="TagsDataSource" runat="server" 
                     ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
                     ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>" 
                     SelectCommand="SELECT Tag FROM Tags"></asp:SqlDataSource>
             </td>
             </tr>
             </table> 
</asp:Content>
